#coding:utf-8
'''
Created on 2019年2月28日

@author: wps
'''

from flask import render_template, redirect


from app import app


@app.route('/page/weather', methods=['GET', 'POST'])
def weather_page():
    return render_template('weather.html', **locals())


@app.route('/page/calculator', methods=['GET', 'POST'])
def calculator_page():
    return render_template('calculator.html', **locals())


@app.route('/page/articlelist', methods=['GET', 'POST'])
def list_page():
    return render_template('list_page.html', **locals())


@app.route('/page/article/info', methods=['GET', 'POST'])
def info_page():
    return render_template('info_page.html', **locals())